package com.xmall.order.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.xmall.define.base.BaseRetryLog;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * <p>
 * 订单退款日志
 * </p>
 *
 * @author xmall
 * @since 2023-11-26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("order_refund_retry_log")
public class OrderRefundRetryLog extends BaseRetryLog {

    /**
     * 订单退款ID
     */
    private Long refundId;

    /**
     * 退款金额
     */
    private BigDecimal refundAmount;

    /**
     * 第三方退款编号
     */
    private String refundTradeNo;

    public OrderRefundRetryLog(Integer logStatus) {
        this.setLogStatus(logStatus);
    }
}
